using DA.AnimGraph;
using UnityEditor;
using UnityEngine;

namespace DA.AnimGraph.Editor {

    [CustomPropertyDrawer(typeof(AUID))]
    public class AUIDDrawer : PropertyDrawer {

        public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) {
            var uuid = property.boxedValue.ToString();
            EditorGUI.TextField(position, label, uuid);
        }
    }
}
